<template>
	<view class="result-box">
		<image  style="width: 100px; height: 100px;" src="@/static/icon/success.png" mode=""></image>
		<text style="margin: 20px 0; font-size: 20px; font-weight: bold;">注册成功</text>
		<text style="margin: 0 0 20px 0; font-size: 16px;">开始你的旅行吧</text>
		<view class="btn">
			<button type="primary" class="button-round" @tap="toLogin">马上登录</button>
		</view>
		
	</view>
</template>

<script setup>
const toLogin = () => {
	uni.reLaunch({
		url: '/pages/login'
	});
}
</script>

<style lang="scss">
.result-box {
	margin-top: 50px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	// justify-content: center;
}
.btn {
	width: 100%;
}
</style>
